-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a bug in GetOverlappingInputsRangeBinarySearch #5211
Conversation
Test Plan: ``` $make clean && COMPILE_WITH_ASAN=1 make -j32 all && sleep 1 && make check ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@riversand963 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: As title. Pull Request resolved: #5211 Differential Revision: D14992018 Pulled By: riversand963 fbshipit-source-id: b5720ea4742029e2fb47ff6d9f8d9de006db4ed4
@riversand963 merged this pull request in 392f6d4. |
Can you explain the impact of the bug in the title, and when it was introduced? If it is something already released, also mention it in HISTORY.md. |
@siying @ajkr This is the fix mentioned in #5215 |
I know it's the fix mentioned in #5215 but still HISTORY.md should provide a better description. If it is a dead code, it shouldn't be there and add an assert. |
@siying I should not have used the term 'dead code'. If you pass different arguments to |
@riversand963 just update HISTORY.md to be specific about what the bug is, how it can be triggered and what's the impact. |
Summary: As title. Pull Request resolved: facebook#5211 Differential Revision: D14992018 Pulled By: riversand963 fbshipit-source-id: b5720ea4742029e2fb47ff6d9f8d9de006db4ed4
Summary: As title. Pull Request resolved: facebook#5211 Differential Revision: D14992018 Pulled By: riversand963 fbshipit-source-id: b5720ea4742029e2fb47ff6d9f8d9de006db4ed4
As title.
We pass an argument
next_smallest
of typeInternalKey**
toGetOverlappingInputsRangeBinarySearch
. In one place inside the function, we perform the followingThis does not have any effect after the function returns. Instead we should do
*next_smallest = nullptr
.Test Plan: